package com.ld.security.common.mybatis.base.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.core.base.ESuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 基本原型
 */

@Data
public abstract class SuperEntity implements ESuperEntity {


	@ApiModelProperty("编号")
	@TableId
	@SqlKey
	private String id;


	@ApiModelProperty("更新时间")

	@SqlKey(SqlCondition.lt)
	private Date uptTime;
	

	@ApiModelProperty("创建时间")
	@SqlKey(SqlCondition.gt)
	private Date crtTime;


}
